﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="quytrinh2.aspx.cs" Inherits="quytrinh2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    <div id="xacnhan">
        <img src="images/Buoc2.png" id="buoc2"/>
        <table id="box-table-a">
            <tr>
                <th>Sản phẩm</th>
                <th>Giá(VNĐ)</th>
                <th>Số lượng</th>
                <th>Thành tiền(VNĐ)</th>
            </tr>
            <asp:Repeater ID="repeater" runat="server">
            <ItemTemplate>
            <tr>
                <td><img src='<%#Eval("URL") %>' /><%#Eval("Tensanpham") %></td>
                <td><%#Eval("Giasanpham") %></td>
                <td><%#Eval("soluong") %></td>
                <td class="giatien"><%#Convert.ToDouble(Eval("Giasanpham"))*Convert.ToInt16(Eval("soluong"))%></td>
            </tr> 
            </ItemTemplate> 
            </asp:Repeater>
            <tr>
                <td colspan="4">Tổng tiền :<asp:Label CssClass="giatien"  ID="quytrinh2_tongtien" runat="server" Text=""></asp:Label>VNĐ</td>
            </tr>
            <!--<tr>
                <td colspan="2"></td>
                <td colspan="2"></td>
            </tr>-->
            <tr>
                <td colspan="4">
                    
                        <input id="Button1" type="button" value="Quay lại" runat="server" onserverclick="back"/>
                        <input id="Button2" type="button" value="Chấp nhận thanh toán" runat="server" onserverclick="quytrinh3" />
      
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

